package com.routz.nettydemo.customprotocol.util;

/**
 * 常量类
 */
public class Constant {
    // 脚环数据数量
    public static final int BraceletDataSize = 60;
    public static final int ChecksumSize = 2;
    public static final int LatitudeLen = 9;
    public static final int LongitudeLen = 10;
    public static final int SIMLen = 20;
    public static final int GPRSLen = 54;
    public static final int CardLastNum1 = 3;
    public static final int CardLastNum2 = 6;
    public static final int BraceletNumSize = 4;
    public static final int StepSize = 3;
    public static final int PacketSize = 620;
    public static final int DeviceSize = 60;

    // 开始字节
    public static final byte HeadSign = 0x21;
    // 命令类型 设备
    public static final byte CmdDv = 0x60;
    // 命令类型 脚环数据
    public static final byte CmdBd = 0x40;


}
